{{ define "admin/layouts/iframe" }}
<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <title>后台管理系统 - </title>
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta http-equiv="Access-Control-Allow-Origin" content="*">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="format-detection" content="telephone=no">
    <base href="/"/>

    <link href="/static/plugins/layui/css/layui.css" rel="stylesheet" type="text/css"/>
    <link href="/static/admin/css/admin.css" rel="stylesheet" type="text/css"/>
    <link href="/static/admin/css/custom.css" rel="stylesheet" type="text/css"/>
    <link href="/static/plugins/simple-line-icons/layui-icon.css" rel="stylesheet" type="text/css"/>

    <link rel="icon" href="/public/favicon.ico">

    {{ template "pagecss" . }}

    <script type="text/javascript">
        // 全局变量
        var APP = {
            HOST: "",
            ROOT : "",
            STATIC : "/static/",
            WEB_ROOT: "/",
            JS_ROOT: "/static/admin/js"
        };

        var UPLOAD_URL = "admin/common/upload";
    </script>

    <script src="/static/plugins/layui/layui.js"></script>
    <script src="/static/admin/js/common.js"></script>

    <script type="text/javascript">
        layui.config({
            base: "static/admin/" // 静态资源所在路径
        }).extend({
            app: 'js/app' // 主入口模块
        }).use('app');
    </script>
</head>

<body class="">
<div>
    {{ template "content" . }}
</div>

{{ template "pagescript" . }}
</body>
</html>
{{ end }}